@layout("/common/_container.html"){
<style>ul{padding:0;}.nav_ul{border-bottom:5px solid #30add2;margin-bottom:15px;}.nav_ul>li>a{color:#565656;border:1px solid #dddddd;}.nav_table{margin-top:10px;}.ul_flex{display:flex;padding:0;}.ul_flex > li{flex:1;}.ul_flex ul{padding:0;}.ul_flex ul > li{line-height:52px;}.ul_flex span{display:inline-block;width:110px;}.home_box{border:1px solid white;border-radius:5px;overflow:hidden;padding-bottom:30px;}.nav-tabs > li.active > a,.nav-tabs > li.active > a:hover,.nav-tabs > li.active > a:focus{background:#30add2;border-bottom:1px solid #30add2;color:white;}#navBox>li{width:130px;text-align:center}</style>
<div class="ibox float-e-margins ">
    <div class="ibox-content" id="addVisitedInfoForm">
        <div id="isDealInfoForm">
            <div style="display: none">
                <input id="arrears" value="0">
                <input type="hidden" id="sortMap" value="">
                <input type="hidden" id="id" value="${consultantInfo.id}">
                <input type="hidden" id="customerId" value="${customerId}">
                <input type="hidden" id="reservationsId" value="${consultantInfo.reservationsId}">
                <input type="hidden" id="userName" value="${userName}">
                <input type="hidden" id="iconType" value="">
                <input type="hidden" id="finnallyTime" value="">
                <input type="hidden" id="payServiceId" value="">
                <input type="hidden" id="remarks" value="">
            </div>
            <div class="row" style="background: #f7f7f7;border: 1px solid #dddddd;border-radius: 3px;">
                <p style="margin-top: 25px;">
                    <span style="margin-left: 10px;font-size: 2em;font-weight: bolder;">${consultantInfo.customerName}</span>
                    <span style="margin-left: 2%;">${consultantInfo.customerAge}</span>
                    <span style="margin-left: 1%">
                        <select disabled="disabled" style="border: none;-webkit-appearance: none;background: #f7f7f7" id="customerSex" name="customerSex">
                            <option value="${consultantInfo.customerSex}">${consultantInfo.sex}</option>
                            <option value="1">男</option>
                            <option value="2">女</option>
                        </select>
                    </span>
                    <span style="margin-left: 4%;">电话：${consultantInfo.customerPhone}</span>
                    <span style="margin-left: 4%;">病历：${consultantInfo.medicalRecordNumber}</span>
                    <span style="margin-left: 4%;">现场TC：${consultantInfo.tcName}</span>
                </p>
            </div>
            <div class="row">
                <div id="contentBox">
                    <div style="margin: 20px 0;position: relative">
                        <span style="font-size: 20px;color: #333333;">患者实收总额：<span style="color: black;font-weight: bold;">${customerInfo.actualAccountBalance}</span></span>
                        <span style="font-size: 20px;color: #333333;">患者欠费总额：<span style="color: red;font-weight: bold;">${customerInfo.accountArrears}</span></span>
                        <span style="font-size: 20px;color: #333333; margin-left: 25px;">本医生实收：<span style="color: black;font-weight: bold;" id="serviceActualPayTotal">${payServiceInfo.serviceActualPay}</span></span>
                        <span style="font-size: 20px;color: #333333;">本医生欠费额：<span style="color: red;font-weight: bold;" id="arrearsTotal">${payServiceInfo.arrears}</span></span>
                        <button type="button" class="btn" onclick="chargePrice()" style="position: absolute;right: 5%;top: -7px;background:#30add1;color: white;">一键划价</button>
                    </div>
                    <div class="home_box" style="position: relative">
                        <div style="text-align: center;border-top: 3px solid #00a6c9;border-bottom: 3px solid #00a6c9;"><#doctor_seeDiagnosiss  id="doctor_seeDiagnosis" list="${payServiceInfoList}"/></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    $(function () {
        $("#navBox li:eq(1) a").tab('show')
        $(".showDetail").click(function () {
            $(this).parent().siblings().toggle();
            $(this).children().toggle();
        })
    })
    function chargePrice() {
        var id=$("#customerId").val();
        var index = layer.open({
            type: 2,
            title: '一键划价预览',
            area: ['60%', '50%'], //宽高
            fix: true, //不固定
            maxmin: true,
            content: Feng.ctxPath + '/doctorLooked/hu_price/'+id
        });
        this.layerIndex = index;
    }
</script>
@}